using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DTO;
using BUS;
using DAL;
using Utility;
using System.IO;

public partial class Admin_khachhangct : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadData();
        }
    }
    private void LoadData()
    {


        int iD = int.Parse(Request.QueryString["id"].ToString());
        tbkhachhangDTO khachhang = tbkhachhangBUS.GetByID(iD);
        lb_ten.Text = khachhang.Tenkh.ToString();
        lb_diachi.Text = khachhang.Diachi.ToString();
        lb_dienthoai.Text =khachhang.Dienthoai.ToString();
        lb_email.Text = khachhang.Email.ToString();
        lb_matkhau.Text = khachhang.Matkhau.ToString();




    }
}
